

<div class="layui-form" lay-filter="layuiadmin-form-role" id="form">
	<div class="form-cont">
		<div class="layui-form-item">
		  <label class="layui-form-label">代理名</label>
		  <div class="layui-input-block">
			  <input type="text"  autocomplete="off" v-model="detail.agent_name" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">开户姓名</label>
		  <div class="layui-input-block">
			  <input type="text"  autocomplete="off"  v-model="detail.account_name" readonly  class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">开户银行</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.bank_name" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">开户卡号</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.bank_account" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">提现金额</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.withdraw_amount" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">提现手续费</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.withdraw_fee" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">实际金额</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.should_amount" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">审核状态</label>
		  <div class="layui-input-block">
		  	   
		          {{#  if(detail.status === 0){ }}
				    <span class="layui-badge layui-bg-blue">申请中</span>
				  {{#  } else if(detail.status === 1) { }}
				    <span class="layui-badge layui-bg-orange">已同意</span>
					{{#  } else if(detail.status === 2) { }}
					  <span class="layui-badge layui-bg-cyan">已拒绝</span>
				  {{#  } }}
				
		  </div>
		<div class="layui-form-item">
		  <label class="layui-form-label">申请时间</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.create_time" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">处理时间</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.review_time" readonly class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
		  <label class="layui-form-label">审核人</label>
		  <div class="layui-input-block">
			  <input type="text" v-model="detail.admin_name" readonly class="layui-input">
			</div>
		</div>




		</div>
	</div>
  <div class="form-btn" v-if="type!=3">
      <input type="button" lay-submit lay-filter="form-submit" value="保存" class="layui-btn">
  </div>
</div>
<style type="text/css">
	#form .layui-form-label{
		width: 120px;
	}
	#form .layui-input-block{
		margin-left: 150px;
	}
</style>
<script>
	layui.use(['form'], function(){
	  var $ = layui.$
	  ,form = layui.form;
	  form.verify(layui.admin.verify);
	  var forms=new Vue({
	  		el:'#form',
	  		data:{
	  			role:[],
				type:layui.admin.objData.type,
				detail:{
					admin_status:1,
					sex:'',
					role_id:''
				},
				role_name:'',
				sex:''
	  		},
	  		mounted() {
	  			 this.detail=layui.admin.objData.detail,this.old_detail=JSON.stringify(layui.admin.objData.detail);
	  		},
	  		methods:{
	  			
	  		}
	  	})
	});
</script>
